﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Profile;

namespace SFsoftSite.Profiles
{
    public class SFProfile : ProfileBase
    {
        public Cliente Cliente
        {
            get { return (Cliente)GetPropertyValue("Cliente"); }
        }

        public static SFProfile GetProfile()
        {
            return (SFProfile)HttpContext.Current.Profile;
        }

        public static SFProfile GetProfile(string userName)
        {
            return (SFProfile)Create(userName);
        }
    }
}